package com.yugao.fintech.draper.core.config;

import com.yugao.fintech.draper.core.util.SpringContextHolder;
import com.yugao.fintech.draper.core.util.TransactionUtil;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

@AutoConfiguration
public class SpringAutoConfiguration {

	@Bean
	public SpringContextHolder springUtil() {
		return new SpringContextHolder();
	}

	@Bean
	public TransactionUtil transactionUtil() {
		return new TransactionUtil();
	}

}
